home *** CD-ROM | disk | FTP | other *** search
/ The Original Shareware 1.1 / The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso / 32 / aola105.zip / AOLA105.DOC < prev    next >
Text File  |  1987-02-14  |  63KB  |  1,585 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.                         A N S I  of  L o s  A n g e l e s
  23.                                        by
  24.                         Eric Lambart/Cavan International
  25.  
  26.                                   Version 1.05
  27.                   Valentine's Day, Saturday, February 14, 1987
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.      Table of Contents
  69.  
  70.      1.0 Introduction                                                       1
  71.        1.1 Overview                                                         1
  72.        1.2 EasyWare                                                         1
  73.        1.3 Future Revisions for ANSI of LA                                  2
  74.        1.4 Program Credits                                                  2
  75.  
  76.      2.0 Getting Ready To Use ANSI of LA                                    2
  77.        2.1 Distribution of ANSI of LA                                       2
  78.        2.2 ANSI of LA On a Hard Disk                                        3
  79.        2.3 Nomenclature                                                     3
  80.  
  81.      3.0 Operations                                                         3
  82.        3.1 Startup                                                          3
  83.        3.2 The Editing Screen                                               4
  84.  
  85.      4.0 Summary of Commands                                                5
  86.        4.1 Moving the Cursor                                                5
  87.        4.2 Function Key Command Summary                                     5
  88.        4.3 Alternate Key Command Summary                                    5
  89.        4.4 Other Command Summary                                            6
  90.  
  91.      5.0 Function Key Command Details                                       6
  92.        [F1] - Toggle Menu                                                   6
  93.          [B]igLetter Mode                                                   6
  94.          [C]olor Mode                                                       6
  95.          [D]raw Mode                                                        6
  96.        [F2] - Ruler Line                                                    7
  97.        [F3] - Get Color at Cursor                                           7
  98.        [F4] - Put Current Color at Cursor                                   7
  99.        [F5] - Toggle ShowColor on/off                                       7
  100.        [F6] - Flip Screens 1 Through 3                                      7
  101.        [F7] - Mark for Copy                                                 7
  102.        [F8] - Copy Marked Text                                              8
  103.        [F9] - Swap Foreground and Background Colors                         8
  104.        [Shift-F7] - Mark for Wipe Command                                   8
  105.  
  106.      6.0 Alternate Key Command Details                                      8
  107.        [Alt-A] - ASCII Table                                                8
  108.        [Alt-B] - Set Background Text Color                                  8
  109.        [Alt-D] - Set Cursor Direction                                       8
  110.        [Alt-F] - Set Foreground Text Color                                  9
  111.        [Alt-H] - Show Help Screen                                           9
  112.        [Alt-I] - Show/Print Order Form                                      9
  113.        [Alt-L] - Load a Screen File                                         9
  114.          [A]SCII Format                                                     9
  115.          [B]ASIC Format                                                     9
  116.          [C]olor Format                                                     9
  117.          [D]ump Format                                                      9
  118.        [Alt-O] - Go to Object Library Menu                                  9
  119.          [S]ave an Object                                                   9
  120.          [L]oad an Object                                                  10
  121.        [Alt-Q] - Quote Next Key Pressed                                    10
  122.        [Alt-S] - Save a Screen File                                        10
  123.          [A]SCII Format                                                    10
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.          [B]ASIC Format                                                    10
  134.          [C]olor Format                                                    10
  135.          [D]ump Format                                                     10
  136.        [Alt-W] - Wipe Current Screen                                       11
  137.          [A]ttributes Only                                                 11
  138.          [B]oth Attributes and Characters                                  11
  139.          [C]haracters Only                                                 11
  140.          [F]ill Screen                                                     11
  141.        [Alt-X] - Exit to DOS                                               11
  142.        [Alt-Key1..Key9] - Set Cursor Direction                             11
  143.        [Alt-_] - Save Screen for Undo                                      11
  144.        [Alt-=] - Undo Recent Changes                                       12
  145.        [Alt-1..0] - Select Character Set                                   12
  146.        [Alt-Key10..Key255] - Enter Special Characters                      12
  147.  
  148.      7.0 Other Commands                                                    12
  149.        [Ctrl-\] - Clear Current Line                                       12
  150.        [Shift-Key1..Key9],[Key-],[Key+] - Enter Characters in Set          12
  151.        [Tab] - Move to Next Tabstop                                        12
  152.        [Shift-Tab] - Move to Previous Tabstop                              13
  153.        [Ins] - Insert a Space at Cursor                                    13
  154.        [Del] - Delete Character at Cursor                                  13
  155.        [Shift-Ins] and [Shift-Del] - Move Columns                          13
  156.        [Scroll Lock] - Toggle Insert Mode                                  13
  157.  
  158.      Appendix A.  Using Turbo Pascal with ANSI of LA                       14
  159.        SCRTEST1.PAS                                                        14
  160.        SCRTEST2.PAS                                                        15
  161.  
  162.      Appendix B.  Using BASICA with ANSI of LA                             17
  163.        SCRTEST.BAS                                                         17
  164.  
  165.      Appendix C.  ANSI of Los Angeles Revision History                     18
  166.        1.00 - July 23, 1986                                                18
  167.        1.01 - July 26, 1986                                                18
  168.        1.02 - July 28, 1986                                                18
  169.        1.03 - August 2, 1986                                               18
  170.        1.04 - October 5, 1986                                              19
  171.        1.05 - February 14, 1987                                            20
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.      1.0 Introduction
  202.  
  203.      1.1 Overview
  204.  
  205.      Welcome to ANSI of LA, the latest and greatest in ANSI screen editing
  206.      software.  ANSI of LA (also called AoLA) has been written in Turbo
  207.      Pascal to make it fast, and it has been specifically designed for ease
  208.      of use.  With ANSI of LA, you can easily create pictures, color
  209.      advertisements, menus for use with DOS batch files, and color menus or
  210.      welcome files for your Computer Bulletin Board, limited ONLY by your
  211.      imagination and the IBM PC's extended-ASCII character set which ANSI
  212.      of LA uses for drawing.  Some of the unique (to the best of our
  213.      knowledge) features of ANSI of LA are:
  214.  
  215.            o Work can be save in an "Optimized" form which automatically
  216.              limits each line to 70 characters wide for uploading into
  217.              bulletin board message systems (Only supported by one other
  218.              ANSI program, to the best of our knowledge).
  219.  
  220.            o Cursor direction can be changed rapidly to allow text and
  221.              graphics to be put onto the screen from left to right, right
  222.              to left, bottom to top, and top to bottom, at the touch of a
  223.              key.
  224.  
  225.            o Three separate screen are available for editing, at the same
  226.              time, and work may be moved around between the different
  227.              screens using Block Commands.
  228.  
  229.            o AoLA will edit ASCII (Plain text), BASIC (BSAVE-type format)
  230.              Color (Using the ANSI x3.64 graphics commands), or Dump (An
  231.              exact copy of video memory) screens.
  232.  
  233.            o On-line help summary instantly available via the [Alt-H] key
  234.  
  235.            o AoLA now allows you to easily create large block characters
  236.              in a new "Big Letters" mode.  Soon, we will support multiple
  237.              font and character sizes as well.
  238.  
  239.            o Object libraries are one of ANSI of LA's best exclusive
  240.              features.  An object library is a file full of pictures to
  241.              be used in color screens, traded, and stored all together in
  242.              one file.
  243.  
  244.      1.2 EasyWare
  245.  
  246.      ANSI of Los Angeles is a new addition to the list of excellent
  247.      EasyWare programs in existence.  Easyware is a novel new software
  248.      distribution concept (also known as "Shareware" or "Freeware"), where
  249.      program(s) can be freely distributed to friends or computer bulletin
  250.      boards, but if you try a EasyWare program, and continue to use it, you
  251.      are obligated pay the author for the program's use.
  252.  
  253.      If you enjoy ANSI of LA, and use it (more than just trying it out),
  254.      then please send us a very reasonable $20 (plus $2.50 Postage &
  255.      Handling) and you will get your own registered copy of the latest
  256.  
  257.    __________________________________________________________________________
  258.       ANSI of LA   1.05              1                  February 14, 1987  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.      version of ANSI of Los Angeles.  If someone registers for ANSI-LA, and
  266.      says that the copy they have has your serial number on it, you will
  267.      receive a $7.50 BONUS CHECK in the mail!
  268.  
  269.      If you are a registered user of AoLA 1.04, just send $7.50 to upgrade.
  270.  
  271.      Please send your Check or Money-Order, payable to Cavan International,
  272.      and include your name and address so we can send you your personal
  273.      registered copy of ANSI of LA.  If possible, when you order, send in
  274.      the order form from the [Alt-I] command.
  275.  
  276.                Cavan International
  277.                Post Office Box 2,
  278.                Santa Monica, California 90406-0002
  279.  
  280.      1.3 Future Revisions for ANSI of LA
  281.  
  282.      We will soon support multiple font files for large block characters.
  283.      You will also be able to configure the default status-line color and
  284.      all the character sets.  You will also be able to edit text on the
  285.      25th line.  Future versions will also allow editing of multiple-page
  286.      screens.  In the last version, we promised Animation would be in this
  287.      one, but we haven't been able to get it done in time.
  288.  
  289.      1.4 Program Credits
  290.  
  291.      Author (Programmer) & Documentation:
  292.            Eric C. Lambart, III
  293.  
  294.      Documentation Rewrite:
  295.            Paul Liles
  296.  
  297.      Beta Testers:
  298.            Alex Boyle
  299.            Peter Clarke
  300.            Jim Fouch
  301.            Quincy Frost
  302.            Jim Gorczyca
  303.            Ken Wilson
  304.            Tom Wyrick
  305.            Jeff Zabarsky
  306.  
  307.  
  308.      2.0 Getting Ready To Use ANSI of LA
  309.  
  310.      2.1 Distribution of ANSI of LA
  311.  
  312.      ANSI of LA is distributed in an archive file (AOLA105.ARC for this
  313.      version) containing the following programs/files:
  314.  
  315.            AOLA    COM - ANSI of Los Angeles version 1.05
  316.            AOLA    000 - Overlay - Necessary for OBJect Libraries, Saving/
  317.                          Loading Screens, Setting Colors, and the Order
  318.                          Form.
  319.            AOLA105.DOC - This DOCumentation file - The Manual for AoLA
  320.            SAMPLE .COL - Sample Color Screen File
  321.            SAMPLE .OBL - Sample OBJect Library File
  322.  
  323.    __________________________________________________________________________
  324.       ANSI of LA   1.05              2                  February 14, 1987  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.      2.2 ANSI of LA On a Hard Disk
  333.  
  334.      If you have ANSI of LA in a subdirectory on your hard disk, and wish to
  335.      be able to run it from any other directory, you must put the directory
  336.      name in your DOS PATH, and set an "environment" variable. If you do
  337.      not have a PATH set up, put the following two lines in your
  338.      AUTOEXEC.BAT file (assuming C:\PROGRAMS is the directory where you
  339.      keep ANSI-LA*:
  340.  
  341.            path=C:\PROGRAMS
  342.            set AOLA=C:\PROGRAMS
  343.  
  344.      If you do not have an AUTOEXEC.BAT file, you must create one.  Type
  345.      the following while at the DOS prompt:
  346.  
  347.            copy con \AUTOEXEC.BAT
  348.            path=C:\PROGRAMS
  349.            set AOLA=C:\PROGRAMS
  350.            prompt $p$g
  351.            echo System Startup Complete.
  352.            ^Z (press [Ctrl-Z] or [F6]), and then press [Enter].
  353.  
  354.      * Note : If you already have an environment variable, "ANSI-LA", set
  355.        up per instructions in ANSI of LA version 1.04, this will still
  356.        work.
  357.  
  358.      2.3 Nomenclature
  359.  
  360.      Throughout this manual, the following symbols will be used to minimize
  361.      confusion:
  362.  
  363.            [Alt]         The gray or beige key labeled "Alt".
  364.            [Ctrl]        The gray or beige key labeled "Ctrl".
  365.            [Shift]       Either of the two gray or beige keys marked with
  366.                          a hollow arrow pointing upwards.
  367.            [Esc]         The gray or beige key labeled "Esc".
  368.            [Tab]         The gray or beige key with two arrows, pointing
  369.                          left and right (above the [Ctrl] key).
  370.            [Enter]       The gray or beige key with a crooked-arrow
  371.                          pointing to the left, also called the "Return" or
  372.                          "Carriage Return" key.
  373.            [Ins]         The white key labeled "Ins", usually located under
  374.                          the numeric- or cursor-keypad.
  375.            [Del]         The white key labeled "Del", usually located under
  376.                          the numeric- or cursor-keypad.
  377.            Key           A key on the numeric- or cursor-keypad.  Used in
  378.                          conjunction with another symbol.  i.e. [Alt-Key1]
  379.                          means hold down the [Alt] key, and press the "1"
  380.                          key on the keypad.
  381.  
  382.      3.0 Operations
  383.  
  384.      3.1 Startup
  385.  
  386.      The program is started by executing of the AOLA.COM file.  Enter
  387.      "AOLA" from the DOS prompt, optionally followed by one of these
  388.  
  389.    __________________________________________________________________________
  390.       ANSI of LA   1.05              3                  February 14, 1987  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.      parameters:
  398.  
  399.      /A    Use ANSI.SYS or your installed ANSI driver instead of the
  400.            built-in ANSI emulation.  Use this if you have any problems
  401.            loading ANSI files, and please report such problems to us.
  402.      FName If you specify the name of the file to edit, on the command
  403.            line, you will automatically enter the Load-File process once
  404.            the program loads.
  405.  
  406.      Example: AOLA \LABBS\WELCOME.COL
  407.  
  408.      The logo-screen for the product will first appear.  At this point, you
  409.      may hit ANY key to proceed to the editing.  If you do not press a key
  410.      within a short amount of time, it will dissappear automatically.
  411.  
  412.      The editing screen consists of a status line, at the bottom of the
  413.      screen, and 24 lines above for your graphic screen.
  414.  
  415.      REMEMBER: A command summary is always readily accessible by simply
  416.      depressing [Alt-H].  To return to the editing screen, from the help
  417.      screen, simply press ANY key.
  418.  
  419.      3.2 The Editing Screen
  420.  
  421.      The editing screen has a one-line status-line to keep you aware of the
  422.      modes and configuration of the program.
  423.  
  424.      Current screen (1,2, or 3) (see [F6] key)
  425.      |
  426.      | Current Mode (see [F1] key)
  427.      | |
  428.      | |      Caps Lock Indicator
  429.      | |      |
  430.      | |      |Num Lock Indicator
  431.      | |      ||
  432.      | |      ||Insert Mode Indicator
  433.      | |      |||
  434.      | |      |||  Cursor Column
  435.      | |      |||  |
  436.      | |      |||  |  Cursor Row
  437.      | |      |||  |  |
  438.      | |      |||  |  |
  439.      1 Draw   CNI  1, 1 White on Black               Color>Set :123456789/-
  440.                             |                          |  |       |
  441.                             |                          |  |       |
  442.               Color At Cursor              Current Color  |       |
  443.                (see [F5] key)                             |       |
  444.                                           (see [Alt-Key1..Key9])  |
  445.                                                                   |
  446.                                               Current Character Set
  447.                                               (see [Alt-1..0])
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.    __________________________________________________________________________
  456.       ANSI of LA   1.05              4                  February 14, 1987  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.      4.0 Summary of Commands
  465.  
  466.      Commands are generally grouped into cursor movement and mode/operation
  467.      commands.  The cursor commands are straight forward with little
  468.      variance from standard editors.  The mode and operations commands use
  469.      Alternate- or Function-keys.
  470.  
  471.      4.1 Moving the Cursor
  472.            [Up-Arrow]         Move up one Row
  473.            [Down-Arrow]       Move down one Row
  474.  
  475.            [Left-Arrow]       Move left one Column
  476.            [Ctrl-Left-Arrow]  Move left one Word.
  477.  
  478.            [Right-Arrow]      Move right one Column.
  479.            [Ctrl-Right-Arrow] Move right one Word.
  480.  
  481.            [Home]             Move to first Column on current Row.
  482.            [Ctrl-Home]        Move to first Row on current Column.
  483.  
  484.            [End]              Move to last Column on current Row.
  485.            [Ctrl-End]         Move to last Row on current Column.
  486.  
  487.            [Tab]              Move to the next Tabstop
  488.            [Shift-Tab]        Move to the previous Tabstop
  489.  
  490.      4.2 Function Key Command Summary
  491.  
  492.            [F1]        Toggle Menu
  493.            [F2]        Ruler Line
  494.            [F3]        Get Color at Cursor
  495.            [F4]        Put Current Color at Cursor
  496.            [F5]        Toggle ShowColor on/off
  497.            [F6]        Flip Screens 1 Through 3
  498.            [F7]        Mark for Copy
  499.            [F8]        Copy Marked Text
  500.            [F9]        Swap Foreground and Background Colors
  501.            [Shift-F7]  Mark for Wipe Command
  502.  
  503.      4.3 Alternate Key Command Summary
  504.  
  505.            [Alt-A]     ASCII Character Table
  506.            [Alt-B]     Set Background Text Color
  507.            [Alt-D]     Set Cursor Direction
  508.            [Alt-F]     Set Foreground Text Color
  509.            [Alt-H]     Show Help Screen
  510.            [Alt-I]     Show/Print Order form
  511.            [Alt-L]     Load a Screen File
  512.            [Alt-O]     Object Library Menu
  513.            [Alt-Q]     Quote Next Key Pressed
  514.            [Alt-S]     Save a Screen File
  515.            [Alt-W]     Wipe Current Screen
  516.            [Alt-X]     Exit to DOS
  517.            [Alt-_]     Save Screen for Undo
  518.            [Alt-*]     Undo Recent Changes
  519.            [Alt-1..0]  Select Character Set
  520.  
  521.    __________________________________________________________________________
  522.       ANSI of LA   1.05              5                  February 14, 1987  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.            [Alt-Key1..Key9] Set Cursor Direction
  530.            [Alt-Key10..Key255] Enter Special Characters
  531.  
  532.      4.4 Other Command Summary
  533.  
  534.            [Ctrl-\]    Clear Current Line
  535.            [Shift-1..9],[Key-],[Key+] Enter Chars from Current Set
  536.            [Ins]       Insert a Space at Cursor
  537.            [Del]       Delete Character at Cursor
  538.            [Shift-Ins],[Shift-Del] Move Columns
  539.            [Esc]       Universal Abort/Exit
  540.  
  541.  
  542.      5.0 Function Key Command Details
  543.  
  544.      [F1] - Toggle Menu
  545.  
  546.      Pressing [F1] will present you with a short menu.  Press the
  547.      corresponding to your choice to toggle that mode.  If mode other than
  548.      your choice is currently active, you will hear a short beep.
  549.  
  550.      You may also turn off any of these modes by pressing [Esc] at the
  551.      editing screen.
  552.  
  553.            Option               Status-Line Indicator
  554.      __________________________________________________
  555.  
  556.            [B]igLetter Mode     "BigL"
  557.      ANSI of LA allows you to easily create large block characters in the
  558.      "BigLetter" mode.  These letters are 8x8 characters in size, for an
  559.      effective screen resolution of 10x3 letters.  After selecting
  560.      [B]igLetter mode, you will be asked for the character to use for
  561.      drawing the letters.  If you press [Enter] at this point, the letter
  562.      itself will be used for drawing; i.e. if you are drawing a large "B",
  563.      it would be made out of "B"'s.  Otherwise, enter the ASCII code for
  564.      the character you wish to use, or the character itself.  If you enter
  565.      an invalid answer, you will get a short beep.  To abort, press [Esc].
  566.      Once you are in BigLetter mode, "BigL" will appear on the status-line.
  567.      Whatever you type will be displayed in these large letters.
  568.  
  569.            NOTE : All the cursor movement keys will move in units of eight
  570.      characters or rows while in this mode.
  571.  
  572.            [C]olor Mode         "Color"
  573.  
  574.      To change the color in an area of text, without retyping it or moving
  575.      the cursor and pressing [F4], you may use the "Color" mode.  In this
  576.      mode, WHEREVER you move the cursor, the character under it will be
  577.      changed to the current color.
  578.  
  579.            [D]raw Mode          "Draw"
  580.  
  581.      Draw mode is an EASY way to draw boxes and lines on your screen.
  582.      Rather than using the relatively-cumbersome [Shift-Key1..Key9], [Key-]
  583.      and [Key+] keys to draw lines or boxes, you can activate draw mode and
  584.      use the keypad cursor-keys to draw lines wherever you move the cursor.
  585.  
  586.  
  587.    __________________________________________________________________________
  588.       ANSI of LA   1.05              6                  February 14, 1987  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.      Draw mode only works for character sets 1 through 5.  If you try to
  596.      enter draw mode while not in sets 1 through 5, you will hear a short
  597.      beep.  (See [Alt-1..0]).
  598.  
  599.      If you switch to Character-Sets 6 through 10 while in this mode, the
  600.      program will automatically turn it off.
  601.  
  602.      [F2] - Ruler Line
  603.  
  604.      If you want to line up objects or text in a vertical column, you can
  605.      set Tabstops, and then press the [Tab] or [Shift-Tab] keys to move to
  606.      a certain position.
  607.  
  608.      When you first press the [F2] key, a blank "ruler" line will appear in
  609.      place of the status-line, with every tenth column marked. To set or
  610.      reset a Tabstop, move the cursor to the position on the ruler line,
  611.      and press the [Space Bar].  Press [Esc], [Up-Arrow], or [F2] again to
  612.      exit the ruler line.
  613.  
  614.      [F3] - Get Color at Cursor
  615.  
  616.      Pressing [F3] will change the current color to the color of the
  617.      character that the cursor is upon at the time.  The "Color" indicator
  618.      on the status-line will then be displayed in the selected color.
  619.  
  620.      [F4] - Put Current Color at Cursor
  621.  
  622.      Pressing [F4] will change the color of whatever character the cursor
  623.      is upon, to the current color.
  624.  
  625.      [F5] - Toggle ShowColor on/off
  626.  
  627.      The default ShowColor mode is ON.  ShowColor simply means that ANSI of
  628.      LA will display on the status-line, in English, the color of whatever
  629.      character the cursor is on.
  630.  
  631.      [F6] - Flip Screens 1 Through 3
  632.  
  633.      ANSI of LA allows you to edit up to three separate screens in memory,
  634.      at the same time!  To toggle through the screens, simply press [F6].
  635.      The current screen number is displayed in the first position on the
  636.      status line.
  637.  
  638.      [F7] - Mark for Copy
  639.  
  640.      With ANSI of LA, you can copy portions of one screen to another
  641.      position on the same screen, or to one of the other two editing
  642.      screens.
  643.  
  644.      To mark a block of the screen, position the cursor at the upper-left-
  645.      hand corner of the desired area, and press [F7].  Then, move the
  646.      cursor to the lower-right-hand corner, and press [Enter] or [F7]
  647.      again.  To abort marking, press [Esc].  While marking, the current
  648.      cursor position and the words "Mark Block" will be displayed on the
  649.      bottom row of the screen in place of the status-line.
  650.  
  651.  
  652.  
  653.    __________________________________________________________________________
  654.       ANSI of LA   1.05              7                  February 14, 1987  
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.      [F8] - Copy Marked Text
  663.  
  664.      To copy a block of text previously marked with [F7], press [F8].  Then
  665.      position the block using the cursor-control keys, and press [Enter].
  666.      Press [Esc] to abort the copy.
  667.  
  668.      [F9] - Swap Foreground and Background Colors
  669.  
  670.      Rather than pressing [Alt-F] then [Alt-B] to set your foreground and
  671.      background colors for an reverse-video (a color with a non-black
  672.      background), you can just press [F9], and the current background color
  673.      will become the foreground, and the current foreground color will
  674.      become the background.  You can see what the new combination looks
  675.      like by looking at where it says "Color" on the status-line.  Note
  676.      that a bright foreground will be changed to a dark background, and if
  677.      you press [F9] again, the foreground will remain dark.
  678.  
  679.      [Shift-F7] - Mark for Wipe Command
  680.  
  681.      For the [Alt-W] (Wipe Current Screen) command to only affect a portion
  682.      of the editing screen, mark it using this command.
  683.  
  684.      To mark a block of the screen, position the cursor at the upper-left-
  685.      hand corner of the desired area, and press [Shift-F7].  Then, move the
  686.      cursor to the lower-right-hand corner, and press [Enter] or [F7].  To
  687.      abort marking, press [Esc].  While marking, the current cursor
  688.      position and the words "Mark Block" will be displayed on the bottom
  689.      row of the screen in place of the status-line.
  690.  
  691.      The word "Block" will appear on the status-line.  After performing a
  692.      Wipe on this area, or to abort, press [Esc].
  693.  
  694.      6.0 Alternate Key Command Details
  695.  
  696.      [Alt-A] - ASCII Table
  697.  
  698.      Most of IBM's extended character set are represented in the different
  699.      ANSI of LA character sets, but some are not.  To see the full range of
  700.      extended-ASCII characters, press F10, and a table of the ASCII
  701.      characters number 128 through 255 will be displayed.
  702.  
  703.      To enter any of the characters on the table onto your current screen,
  704.      simply hold down the [Alt] key while entering the code number on the
  705.      KEYPAD, and then release the [Alt] key.
  706.  
  707.      [Alt-B] - Set Background Text Color
  708.  
  709.      This will set the current Background color.  For normal text, set it
  710.      to black.  If you want reverse-video, try setting it to another
  711.      color.  The color options are [B]lack, [C]yan, [G]reen, b[L]ue,
  712.      [M]agenta, [R]ed, [W]hite and [Y]ellow.
  713.  
  714.      [Alt-D] - Set Cursor Direction
  715.  
  716.      This command has been brought back only for use on machines that do
  717.      not allow the entering extended-ASCII characters through the keypad.
  718.  
  719.    __________________________________________________________________________
  720.       ANSI of LA   1.05              8                  February 14, 1987  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.      To set the cursor direction, after pressing [Alt-D], just press the
  728.      corresponding cursor movement key on the keypad.
  729.  
  730.      See [Alt-Key1..Key9] (Set Cursor Direction) for more information and a
  731.      full explanation of this command.
  732.  
  733.      [Alt-F] - Set Foreground Text Color
  734.  
  735.      This will set the current Foreground color.  Anything you type in will
  736.      be in this Foreground combined with the current background color.
  737.      After you select [B]lack, [C]yan, [G]reen, b[L]ue, [M]agenta, [R]ed,
  738.      [W]hite or [Y]ellow, you will be asked two questions : "Bright [y,N]?"
  739.      (Bright foreground color) and "Blink [y,N]?" (Blinking foreground
  740.      color).
  741.  
  742.  
  743.  
  744.      [Alt-H] - Show Help Screen
  745.  
  746.      This will display the ANSI of LA command-summary help screen.  After
  747.      viewing it, press ANY key to return to the editing screen.
  748.  
  749.      [Alt-I] - Show/Print Order Form
  750.  
  751.      This will display the order form to use when registering your copy of
  752.      ANSI of LA.  To print this screen, press ANY key besides [Esc].  To
  753.      return to the editing screen without printing the form, press [Esc].
  754.      If you attempt to print and your printer is not ready, you will hear a
  755.      short beep.
  756.  
  757.      [Alt-L] - Load a Screen File
  758.  
  759.      This will load an existing graphics screen.  You will first be
  760.      prompted for the filename, which may include a valid DOS path.  Next,
  761.      if the file exists, you will be prompted for the screen type:
  762.            [A]SCII - Straight text screen (any color lost).
  763.            [B]ASIC - BASIC BLOAD-format screen file.
  764.            [C]olor - Graphics screen containing ANSI x3.64 commands.
  765.            [D]ump  - A 4,000-byte file containing an exact dump of video
  766.                      memory.
  767.  
  768.      To abort, press [Esc] when prompted for the filename or file type.
  769.      Note that no "wildcard" ("*" or "?") characters are allowed in the
  770.      filename.
  771.  
  772.      [Alt-O] - Go to Object Library Menu
  773.  
  774.      Object libraries are one of ANSI of LA's exclusive features. An object
  775.      library is a file full of pictures to be used in color screens.  The
  776.      sample library (Sample.OBL), included with ANSI of LA, contains 5 such
  777.      objects.
  778.      At the Object-Library Menu, you will be presented with two choices :
  779.  
  780.      [S]ave an Object
  781.  
  782.      If you create a picture, and want to save it in an object library
  783.      (OBL), position the cursor at the upper-left-hand corner of the
  784.  
  785.    __________________________________________________________________________
  786.       ANSI of LA   1.05              9                  February 14, 1987  
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.      picture and press [Alt-O], then [S].  Next, you will be prompted for
  794.      the name of the OBL.  If the file already exists, the new object will
  795.      be appended to the file, and if it's a new file, it will be saved as
  796.      the first object in that file.
  797.  
  798.      You should now be in block-mark mode.  Move the cursor to the lower-
  799.      right-hand corner of the object, press [Enter] or [F7], and the object
  800.      is saved.  To abort marking, press [Esc].  While marking, the current
  801.      cursor position and the words "Mark Mode" will be displayed on the
  802.      bottom row of the screen in place of the status-line.
  803.  
  804.      [L]oad an Object
  805.  
  806.      To read in an object from an Object Library (OBL), position the cursor
  807.      where you want the upper-left-hand-corner of the object to sit, then
  808.      press [Alt-O], then [L].  Next, you will be prompted for the name of
  809.      the OBL.
  810.  
  811.      If the file exists, the first object will be displayed on the screen.
  812.      At this point, you may use [PgDn] and [PgUp] to page through the
  813.      various objects.  When you find the one you want, press [Enter], and
  814.      the object will be inserted at the position you selected.  To abort
  815.      press [Esc].
  816.  
  817.      [Alt-Q] - Quote Next Key Pressed
  818.  
  819.      To enter such unusual characters as [Esc], [Ctrl-Z], etc., that cannot
  820.      be typed in directly, press [Alt-Q].  The word "Quote" will appear on
  821.      the status line.  Then type in the character.
  822.  
  823.      [Alt-S] - Save a Screen File
  824.  
  825.      This will save the active graphics screen to a file.  You will first
  826.      be prompted for the filename, which may include a valid DOS path.  If
  827.      the file exists you must verify that you wish to overwrite it.  Next,
  828.      you will be prompted for the screen type:
  829.            [A]SCII - Straight text screen (any color lost).
  830.            [B]ASIC - BASIC BSAVE-format screen file - The header indicating
  831.                      the memory location will be set at the page-0 location
  832.                      for the current video mode.
  833.            [C]olor - Graphics screen containing ANSI x3.64 commands.  After
  834.                      selecting this option, you will be asked if you wish
  835.                      to clear the screen first.  If you select "Y", you
  836.                      will also be given the option of Optimizing the file
  837.                      for Bulletin Board System (BBS) messages, which will
  838.                      limit the width of all lines to 70 columns which is
  839.                      the normal margin of most BBS message bases.
  840.            [D]ump  - A 4,000-byte file containing an exact dump of video
  841.                      memory.
  842.  
  843.      To abort, press [Esc] when prompted for the filename or file type.
  844.      Note that no "wildcard" ("*" or "?") characters are allowed in the
  845.      filename.
  846.  
  847.  
  848.  
  849.  
  850.  
  851.    __________________________________________________________________________
  852.       ANSI of LA   1.05              10                  February 14, 1987  
  853.  
  854.  
  855.  
  856.  
  857.  
  858.  
  859.  
  860.      [Alt-W] - Wipe Current Screen
  861.  
  862.      This command will modify the entire screen at once, unless you have
  863.      marked a portion using the [Shift-F7] command.  You will be presented
  864.      with four options:
  865.  
  866.            [A]ttributes - This will change the colors of the area, leaving
  867.                           the existing characters unmodified.  You will be
  868.                           prompted for the foreground and background colors
  869.                           to use.
  870.            [B]oth       - This will clear the screen, erasing all
  871.                           characters and setting all colors to white upon
  872.                           black.
  873.            [C]haracters - This will erase all characters on the screen,
  874.                           leaving all colors intact.
  875.            [F]ill.      - This will prompt you for the foreground and
  876.                           background colors, and the character with which
  877.                           you wish to fill the screen.  It will then fill
  878.                           the entire screen with the selected character, in
  879.                           the selected color.
  880.  
  881.      [Alt-X] - Exit to DOS
  882.  
  883.      This will terminate ANSI of LA and return to DOS.  If you have
  884.      modified any screens without saving them, ANSI of LA will allow you to
  885.      save each modified screen before exiting the program.
  886.  
  887.      [Alt-Key1..Key9] - Set Cursor Direction
  888.  
  889.      Setting the cursor travel direction is another exclusive ANSI of LA
  890.      feature.  Normally, when you type any character in an editor, the
  891.      cursor will move one space to the right.  ANSI of LA allows this
  892.      direction to be selectable by the user.
  893.  
  894.      Up/Down/Left/Right - If you want to put characters on the screen left
  895.      to right or top to bottom, with ANSI of LA, hold down the [Alt] key,
  896.      press the cursor key corresponding to the direction that you wish the
  897.      cursor to travel, and then release [Alt].
  898.  
  899.      Diagonal - You can also set diagonal directions by using [Alt] with
  900.      the [Home] (Up-and-Left), [End] (Down-and-Left), [PgUp] (Up-and-
  901.      Right), and [PgDn] (Down-and-Right) keys.
  902.  
  903.      Direction Indication - You will see the direction arrow on the status
  904.      line change to point the current direction of travel.  The current
  905.      direction of travel is indicated by the arrow just before the word
  906.      "Set" on the status line.  Due to the lack of diagonal arrows in the
  907.      IBM extended-ASCII character set, a "\" represents either Up-and-Left
  908.      or Down-and-Right cursor travel, and a "/" represents either Up-and-
  909.      Right or Down-and-Left.
  910.  
  911.      [Alt-_] - Save Screen for Undo
  912.  
  913.      If you are about to make some major changes which could destroy your
  914.      screen, press [Alt-_].  This will save the current screen in a
  915.  
  916.  
  917.    __________________________________________________________________________
  918.       ANSI of LA   1.05              11                  February 14, 1987  
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925.      temporary hold-area.  If you want to go back to the old screen, press
  926.      [Alt-=] (see next option).
  927.  
  928.      [Alt-=] - Undo Recent Changes
  929.  
  930.      Whenever you load a screen or toggle edit areas with [F6], the new
  931.      screen is automatically saved in a temporary hold-area so it may be
  932.      brought back if anything on the screen is accidentally erased or
  933.      destroyed.  You can force a save of the screen by pressing [Alt-_]
  934.      (see previous option).
  935.      To bring back the saved screen, simply press [Alt-=].
  936.  
  937.      [Alt-1..0] - Select Character Set
  938.  
  939.      Pressing Alt-1,Alt-2,...,Alt-0 will select ANSI of LA character sets 1
  940.      through 10, respectively.  Sets 1 through 5 support line drawing (see
  941.      [F1] command).  The characters in the current set are displayed on the
  942.      status-line, on the lower-right-hand side.  There are eleven (11)
  943.      symbols per set.  Be sure you use the numbers on the TOP of the
  944.      keyboard, not the keypad.  See [Shift-Key1..Key9], [Key-], and [Key+]
  945.      below.
  946.      The [Alt-H] help screen displays all of the sets for easy reference.
  947.  
  948.  
  949.      [Alt-Key10..Key255] - Enter Special Characters
  950.  
  951.      To enter any ASCII character, simply hold down the [Alt] key, enter
  952.      the ASCII code of that character, and then release [Alt]. The 8
  953.      exceptions to this are [Alt-1,2,3,4,6,7,8 and 9] (see above).  You can
  954.      enter these by pressing the control-key codes anyway since they aren't
  955.      commands.
  956.  
  957.  
  958.      7.0 Other Commands
  959.  
  960.      [Ctrl-\] - Clear Current Line
  961.  
  962.      If you need to clear the contents of the current line, simply press
  963.      [Ctrl-\] twice.  You must press it twice as a safeguard against
  964.      accidental erasure.
  965.  
  966.      [Shift-Key1..Key9],[Key-],[Key+] - Enter Characters in Set
  967.  
  968.      Any of the eleven (11) characters from the selected AoLA character set
  969.      can be entered onto the screen by using the shifted keypad keys, or
  970.      the keypad in NumLock mode.  The keypad [Key1] through [Key9], [Key+]
  971.      and [Key-] keys correspond to the eleven symbols on the selected set,
  972.      respectively.  The "Set" indicator on the status-line displays the
  973.      current set.
  974.  
  975.      [Tab] - Move to Next Tabstop
  976.  
  977.      Pressing the Tab key will move the cursor to the next preset Tab
  978.      position.  If there are no more tabs to the right of the cursor, it
  979.      will go to the end of the line.  To set tabs, see the [F2] command
  980.      description.
  981.  
  982.  
  983.    __________________________________________________________________________
  984.       ANSI of LA   1.05              12                  February 14, 1987  
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991.      [Shift-Tab] - Move to Previous Tabstop
  992.  
  993.      The action of [Shift-Tab] is exactly opposite of [Tab].  Pressing
  994.      [Shift-Tab] will move the cursor to the prior preset Tab position, or
  995.      to the beginning of the line if there are no more tabs to the left of
  996.      the cursor position.  To set tabs, see the [F2] command description.
  997.  
  998.      [Ins] - Insert a Space at Cursor
  999.  
  1000.      If you press the [Ins] key, a blank space will be inserted in the
  1001.      current cursor Row, at the current cursor Column.
  1002.                CAUTION:  The right-most character in the line will be
  1003.                          destroyed when you do this.
  1004.      To move a whole column to the right, simply insert the desired number
  1005.      of spaces on the FIRST line, move down to the next, and then use
  1006.      [Shift-Ins] to move lines below over by the same amount.
  1007.  
  1008.      [Del] - Delete Character at Cursor
  1009.  
  1010.      If you press the [Del] key, ONE character will be deleted from the
  1011.      current cursor Row, at the current cursor Column.
  1012.  
  1013.      To move a whole column to the left, simply delete the desired number
  1014.      of spaces on the FIRST line, move down to the next, and then use
  1015.      [Shift-Del] to move lines below over by the same amount.
  1016.  
  1017.      [Shift-Ins] and [Shift-Del] - Move Columns
  1018.  
  1019.      To move whole columns of text to the right or left, simply insert or
  1020.      delete the desired number of spaces on the FIRST line (with the [Ins]
  1021.      or [Del] keys), move down to the next, and then use [Shift-Ins] or
  1022.      [Shift-Del] to  move lines below over by the same amount.
  1023.  
  1024.      [Scroll Lock] - Toggle Insert Mode
  1025.      To automatically insert a space for each character you type (as
  1026.      opposed to overwriting the existing text), turn on Insert mode.  To
  1027.      toggle Insert mode on or off, simply press the [Scroll Lock] key.  If
  1028.      it is on, a "I" will be displayed on the status-line.
  1029.  
  1030.      Note that, in Insert Mode, [Back Space] will also delete the character
  1031.      to the left, as it moves the cursor.
  1032.  
  1033.                CAUTION:  The right-most character in the line will be
  1034.                          destroyed for every character you type, as the
  1035.                          program inserts a space in the line.
  1036.  
  1037.      [Esc] - Universal Abort/Exit
  1038.  
  1039.      Pressing the [Esc] key will exit the current drawing, block, big
  1040.      letters, or color modes, and will usually abort almost any operation
  1041.      at a prompt.
  1042.  
  1043.  
  1044.  
  1045.  
  1046.  
  1047.  
  1048.  
  1049.    __________________________________________________________________________
  1050.       ANSI of LA   1.05              13                  February 14, 1987  
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.      Appendix A.  Using Turbo Pascal with ANSI of LA
  1060.  
  1061.      It is very simple to make fantastic screen displays in any Turbo
  1062.      Pascal program, using AoLA.  This section will contain several methods
  1063.      and sample programs for using AoLA Screen Dumps.
  1064.  
  1065.      When you save a screen in the [D]ump format, ANSI of LA writes a
  1066.      4,000-byte file containing an EXACT copy of Video Memory at the time.
  1067.      This memory is formatted in pairs of characters and attributes as
  1068.      follows :
  1069.  
  1070.           1          2           3          4              3,999      4,000
  1071.      [Character][Attribute] [Character][Attribute] .... [Character][Attribute]
  1072.  
  1073.      Figure #1 : SCRTEST1.PAS
  1074.  
  1075.       program ScreenTestOne(input,output,ScrFile);
  1076.  
  1077.       { This program is included with ANSI of Los Angeles as a demonstration of one
  1078.         of the uses of AoLA screen dump files, in Turbo Pascal }
  1079.  
  1080.       type
  1081.        ScrType = array[1..4000] of byte;
  1082.  
  1083.       var
  1084.        Vmode   : byte absolute $0040:$0049;  { Current Video Mode }
  1085.        Page0Seg: integer;                    { RAM Segment for Video Page Zero }
  1086.        PageZero: ^ScrType;                   { Points to Video RAM Page Zero }
  1087.        ScrFile : file of Scrtype;            { File Containing AoLA Screen Dump }
  1088.        Filename: string[30];                 { Filename for Screen Dump File }
  1089.  
  1090.       begin    { ScreenTestOne }
  1091.  
  1092.        writeln('SCRTEST1.PAS - Cavan International');
  1093.        writeln('Portions of this program may be freely used in any Public Domain, ShareWare, or');
  1094.        writeln('Commercial program, with no royalties.');
  1095.        writeln;
  1096.  
  1097.        if Vmode=7 then
  1098.         Page0Seg:=$B000  { MDA Video Page Zero Segment Address }
  1099.        else
  1100.         Page0Seg:=$B800; { CGA Video Page Zero Segment Address }
  1101.        PageZero := ptr(Page0Seg,0);{ Point PageZero at Video Page Zero Address }
  1102.  
  1103.        write('Enter the Screen Filename : ');
  1104.        readln(Filename); { Enter Screen Filename }
  1105.        if Filename='' then begin   { No Filename? Abort! }
  1106.         writeln('Aborted.');
  1107.         halt;
  1108.        end;
  1109.  
  1110.        {$I-}   { Turn off I/O checking }
  1111.        assign(ScrFile,Filename);
  1112.        reset(ScrFile);
  1113.        {$I+}   { Turn on I/O checking }
  1114.  
  1115.    __________________________________________________________________________
  1116.       ANSI of LA   1.05              14                  February 14, 1987  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.        if ioresult <> 0 then begin { Check for I/O errors }
  1124.         writeln('File not found.');
  1125.         halt;
  1126.        end;
  1127.  
  1128.        gotoxy(1,1);
  1129.        read(ScrFile,PageZero^);    { Read page into Video RAM }
  1130.        close(ScrFile);
  1131.        repeat until keypressed;    { Allow user to press key before continuing }
  1132.        clrscr;
  1133.  
  1134.       end.     { ScreenTestOne }
  1135.  
  1136.      Figure #2 : SCRTEST2.PAS
  1137.  
  1138.       program ScreenTestTwo(input,output);
  1139.  
  1140.       { This program is included with ANSI of Los Angeles as a demonstration of one
  1141.         of the uses of AoLA screen dump files, in Turbo Pascal.  This is the way
  1142.         ANSI of LA screen dump files are used in AoLA itself, in the opening, help,
  1143.         ASCII, and order-form screens. }
  1144.  
  1145.       type
  1146.        ScrType = array[1..4000] of byte;
  1147.  
  1148.       var
  1149.        Vmode   : byte absolute $0040:$0049;  { Current Video Mode }
  1150.        Page0Seg: integer;                    { RAM Segment for Video Page Zero }
  1151.        DumpScr,                              { Points to built-in Dump Screen }
  1152.        PageZero: ^ScrType;                   { Points to Video RAM Page Zero }
  1153.  
  1154.       procedure ScreenDump; external 'Yourfile.Scr';
  1155.  
  1156.       { When you define an EXTERNAL procedure in Turbo Pascal, it includes that
  1157.         entire file into the code segment at that point.  Thus, you can point a
  1158.         variable at the address of this procedure, and there you have it - a 4,000-
  1159.         byte screen.
  1160.  
  1161.         To use this demo program, create a screen, save it as a [D]ump file, and
  1162.         place the filename within after the word "external" in the procedure
  1163.         declaration above.
  1164.  
  1165.         If you were to call this procedure, you would have serious problems, and
  1166.         your PC would probably lock up.  Hence, a WARNING : Do not call these
  1167.         screen "procedures" from Turbo Pascal!
  1168.  
  1169.         Remember, this will also take up your Code Segment, which is very dear
  1170.         to any programmer writing large programs in Turbo.  These procedures may
  1171.         be included within an overlay procedure, and then moved into the DATA
  1172.         segment, by simply putting the declaration after the overlay procedure
  1173.         declaration. }
  1174.  
  1175.       begin    { ScreenTestTwo }
  1176.  
  1177.        writeln('SCRTEST2.PAS - Cavan International');
  1178.        writeln('Portions of this program may be freely used in any Public Domain, ShareWare, or');
  1179.        writeln('Commercial program, with no royalties.');
  1180.  
  1181.    __________________________________________________________________________
  1182.       ANSI of LA   1.05              15                  February 14, 1987  
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189.        writeln;
  1190.        write  ('Press [Enter] to Display Built-In Screen : ');
  1191.        readln;
  1192.  
  1193.        if Vmode=7 then
  1194.         Page0Seg:=$B000  { MDA Video Page Zero Segment Address }
  1195.        else
  1196.         Page0Seg:=$B800; { CGA Video Page Zero Segment Address }
  1197.        PageZero := ptr(Page0Seg,0);{ Point PageZero at Video Page Zero Address }
  1198.  
  1199.        DumpScr := ptr(cseg,ofs(ScreenDump)); { Point DumpScr at External Procedure
  1200.                                                Address }
  1201.        move(DumpScr^,PageZero^,4000);   { Move Built-in Dump to Video RAM Page Zero }
  1202.  
  1203.        repeat until keypressed;    { Allow user to press key before continuing }
  1204.        clrscr;
  1205.  
  1206.       end.     { ScreenTestTwo }
  1207.  
  1208.  
  1209.  
  1210.  
  1211.  
  1212.  
  1213.  
  1214.  
  1215.  
  1216.  
  1217.  
  1218.  
  1219.  
  1220.  
  1221.  
  1222.  
  1223.  
  1224.  
  1225.  
  1226.  
  1227.  
  1228.  
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234.  
  1235.  
  1236.  
  1237.  
  1238.  
  1239.  
  1240.  
  1241.  
  1242.  
  1243.  
  1244.  
  1245.  
  1246.  
  1247.    __________________________________________________________________________
  1248.       ANSI of LA   1.05              16                  February 14, 1987  
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.      Appendix B.  Using BASICA with ANSI of LA
  1258.  
  1259.      It is also very simple to make fantastic screen displays in any BASICA
  1260.      program, using AoLA.  This section will contain a sample program for
  1261.      using AoLA BASIC-Format files.
  1262.  
  1263.      When you save a screen in the [B]ASIC format, ANSI of LA writes a
  1264.      4,007-byte file containing a header, and an EXACT copy of Video Memory
  1265.      at the time.  The header contains the memory address of Video Memory
  1266.      for the current video mode.  For this reason, any program using this
  1267.      method, written on a Color machine, will not work on a Monochome, and
  1268.      vice-versa.  This is, indeed, a severe limitation, but it can be used
  1269.      nevertheless.  The other 4,000 bytes are formatted in pairs of
  1270.      characters and attributes as follows :
  1271.  
  1272.           8          9          10         11             4,006      4,007
  1273.      [Character][Attribute],[Character][Attribute],...,[Character][Attribute]
  1274.  
  1275.      Figure #1 : SCRTEST.BAS
  1276.       1000 Rem                SCRTEST.BAS - Cavan International
  1277.       1010 Rem   This program may be used in part or in its entirety in any Public
  1278.       1020 Rem   Domain, ShareWare, or Commercial software without royalties.
  1279.       1030 Rem
  1280.       1040 Rem   This is an example of how to load ANSI of Los Angeles BSAVE
  1281.       1050 Rem   Format Screens in MS-DOS(r) BASICA.  Create a screen in ANSI of
  1282.       1060 Rem   LA, save it in the [B]ASIC format, and then run this program.
  1283.       1070 Rem
  1284.       1080 Input "Please Enter the File Name : ",FileName$
  1285.       1090 If FileName$="" Then GoSub 1140
  1286.       1100 BLoad FileName$
  1287.       1110 If Inkey$="" Then 1110
  1288.       1120 Cls
  1289.       1130 End
  1290.       1140 Print "Aborted."
  1291.       1150 End
  1292.  
  1293.  
  1294.  
  1295.  
  1296.  
  1297.  
  1298.  
  1299.  
  1300.  
  1301.  
  1302.  
  1303.  
  1304.  
  1305.  
  1306.  
  1307.  
  1308.  
  1309.  
  1310.  
  1311.  
  1312.  
  1313.    __________________________________________________________________________
  1314.       ANSI of LA   1.05              17                  February 14, 1987  
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321.  
  1322.      Appendix C.  ANSI of Los Angeles Revision History
  1323.  
  1324.      1.00 - July 23, 1986
  1325.            o Original release
  1326.  
  1327.      1.01 - July 26, 1986
  1328.            o Fixed bug -- Screen did not clear before loading ASCII file,
  1329.              causing it to overlay old screen.
  1330.            o Added "undo" command to undo mistakes
  1331.            o Added resettable tabstops, with [Tab] and [Shift-Tab] keys.
  1332.            o Added command ([Ctrl-\]) to clear current line
  1333.  
  1334.      1.02 - July 28, 1986
  1335.            o Fixed bug -- AoLA did not properly sense the presence of a
  1336.              monochrome card, and would not work with one.
  1337.            o Instead of resetting the screen when you enter AoLA, it just
  1338.              leaves it in its present state and clears the screen.  This is
  1339.              for users of Genoa, Paradise, Compaq, and other video cards
  1340.              that emulate a monochrome mode, but are really "color" cards,
  1341.              so even if AoLA senses a color card, it will still use
  1342.              whatever the current video mode is, sensed by the fix above.
  1343.            o Eliminated all "blue" colors from the startup screen,  help
  1344.              screen, and ASCII table so that it won't underline and look
  1345.              messy on a monochrome screen.
  1346.  
  1347.      1.03 - August 2, 1986
  1348.            o Added display of X,Y position on the status line.
  1349.            o Improved optimization feature when saving ANSI screen images.
  1350.              Now, files should be even shorter line-wise.  This improved
  1351.              optimization ONLY works if you start with a clear screen. If
  1352.              you do not, it will just optimize as before.
  1353.            o Fixed a bug -- When you pressed [Ctrl-Left] Arrow, and there
  1354.              was no beginning of a word to the left, it would stop at the
  1355.              second column.  Now it stops at the first column.
  1356.            o Fixed a "bug" -- This one was not a definite bug, but after
  1357.              you saved an ANSI screen image, AoLA would leave the color in
  1358.              the file the same as the last color used.  Thus, if you TYPE'd
  1359.              the file in DOS, or read it on a BBS message, the colors would
  1360.              be messed up.  Now, it sets the color to white on black.
  1361.            o Fixed a bug -- When we attempted to load an ANSI file we had
  1362.              downloaded from a BBS, AoLA crashed because the lines in the
  1363.              file were LONG - up to 500 characters per line, and the limit
  1364.              for AoLA was 255.  Now, rather than reading in a line at a
  1365.              time, AoLA will read ONE CHARACTER AT A TIME, which may  seem
  1366.              a bit slower, but will allow you to read lines with unlimited
  1367.              lengths.  However, when loading ASCII files, the limit is
  1368.              still 255 characters.
  1369.            o Added a new feature!  When you have an ANSI file that is more
  1370.              than 24 lines long, rather than letting it scroll by, AoLA
  1371.              will STOP, and prompt you whether you want to stop there, or
  1372.              continue to the next page.  Thus, you can load long files, a
  1373.              screen at a time, then save them separately (i.e. Screen 1:
  1374.              "Screen.001", 2: "Screen.002", etc.  Then, to paste them
  1375.              together again, you can use the DOS COPY command: "copy
  1376.              Screen.001+Screen.002 Screen.Col" then clean it up with a text
  1377.              editor.
  1378.  
  1379.    __________________________________________________________________________
  1380.       ANSI of LA   1.05              18                  February 14, 1987  
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.            o Allowed user to have Blinking Black foreground -- Yes, you can
  1388.              have a blinking black, if you have a non-black background...
  1389.  
  1390.      1.04 - October 5, 1986
  1391.            o All commands that were previously used by pressing [Esc] first
  1392.              are now used in conjunction with the ALT key.
  1393.            o To quit AoLA, press [Alt-X], rather than [Esc]Q.
  1394.            o The top-number keys now actually enter numbers, not characters
  1395.              in a set.  Thus, the sets have been moved up one, so set 2 is
  1396.              now set 1, etc. To enter the character set codes, use the
  1397.              shifted-keypad keys or the keypad in NUMLOCK mode.
  1398.            o To enter a control-code that is not that is an AoLA command,
  1399.              you can now hold down the [Alt] key, press the ASCII code of
  1400.              that character, and then release [Alt].  The 8 exceptions to
  1401.              this are [Alt-1,2,3,4,6,7 and 8] (see above).  You can enter
  1402.              these by pressing the control-key codes anyway since they
  1403.              aren't commands.
  1404.            o If you try to enter draw mode while not in sets 1 through 5,
  1405.              it will beep at you.
  1406.            o If you switch sets to sets 6 through 10 while in Draw mode,
  1407.              it'll turn Draw mode off.
  1408.            o Many major bugs with saving ANSI screens with non-black
  1409.              backgrounds have been fixed. Everything should Save great!
  1410.            o Removed the extra blank space as the last character in saving
  1411.              ANSI files.
  1412.            o Made the [Ins] key repeatable.
  1413.            o Added the [Alt-I] command to display and print the order form
  1414.              for AoLA
  1415.            o Greatly enhanced the [Alt-W]ipe command. See the description
  1416.              in the manual above.
  1417.            o You probably noticed that we have now been forced to use an
  1418.              overlay file (AOLA.000) as much as we wished to avoid it.  The
  1419.              [Alt-S]ave, [Alt-L]oad, and [Alt-O]bject Library commands are
  1420.              in the overlay... pressing any of these keys will load the
  1421.              overlay from disk.
  1422.            o Added an X,Y position display to the [F7] and Object Library
  1423.              mark modes.
  1424.            o Made [Caps Lock], [Num Lock], and [Scroll Lock] indicators on
  1425.              the status-line. The [Scroll Lock] key actually toggles Insert
  1426.              mode, so the indicator is an "I".  Remember, the [Ins] key
  1427.              inserts a blank, but with the Insert Mode on (with [Scroll
  1428.              Lock]), whatever characters that are typed are inserted
  1429.              automatically.
  1430.            o Now, to enter the 10th or 11th character in a set while not in
  1431.              Draw mode, you MUST use the KEYPAD '-' or '+' keys. '\','/',
  1432.              [Top-] and [Top+] now just enter their respective characters.
  1433.            o While saving ANSI screens, the default for "Optimize for BBS
  1434.              messages?" is NO, since you usually do not need this.  Now you
  1435.              can just quickly press [Enter] twice to save, without
  1436.              unecessarily optimizing.
  1437.            o Any blank lines will now be replaced with two spaces, so that
  1438.              blank lines will not cause problems while ASCII-uploading
  1439.              optimized messages onto Bulletin Boards.
  1440.            o You may now define an environment variable, "AOLA", to specify
  1441.              the path where the AoLA overlay files are kept.  Example: type
  1442.              "set AOLA=C:\PROGRAMS".
  1443.  
  1444.  
  1445.    __________________________________________________________________________
  1446.       ANSI of LA   1.05              19                  February 14, 1987  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.            o To move whole columns to the right or left, you may simply
  1454.              insert or delete the desired number of spaces on the FIRST
  1455.              line, and then after moving down to the next line, use [Shift-
  1456.              Del] or [Shift-Ins] to move lines below over by the same
  1457.              amount.
  1458.            o [Shift-F1] will now invoke a "Color" mode where simply moving
  1459.              the cursor will change the color of whatever the cursor lands
  1460.              on. This makes it easy to re-color boxes and such simply by
  1461.              moving the cursor around the border of the box.
  1462.  
  1463.      1.05 - February 14, 1987
  1464.            o [Shift-Ins] will now repeat!
  1465.            o AoLA now supports BASIC-BLoad/BSave-format files.  When
  1466.              you save or load, select [B]ASIC format.  This is the same as
  1467.              a [D]ump but with a 7-byte BASIC header.  It will use the
  1468.              header for whatever video mode you're in.
  1469.            o [Ctrl-Z]'s in the middle of a screen [D]ump-format file will
  1470.              no longer mess up the screen.
  1471.            o Pressing [Ctrl-Z] will now do nothing, since it is the End-of-
  1472.              File mark for DOS and causes problems. If you really need a
  1473.              [Ctrl-Z], type [Alt-Q] [Ctrl-Z].
  1474.            o Much different when you use [F8] to copy a block... We won't
  1475.              explain it - just try it!  Actually, for a demo, try [D]ump-
  1476.              Loading MOVEDEMO.SCR in this ARC.
  1477.            o Try pressing [Shift-F7] and marking yourself a nice, neat
  1478.              block!  A "Block" indicator will light on the status-line, and
  1479.              whatever operations you do before hitting [Esc] will affect
  1480.              that block only.  For now all I can think of to affect anyway
  1481.              is the [Alt-W]ipe command - try marking a block then wiping it
  1482.              or filling it with a pattern.
  1483.            o Changed [F10] - ASCII table to [Alt-A]SCII table - more mnemonic,
  1484.              no?  And why not use [F10] for something more useful!  Anyone
  1485.              got any ideas?
  1486.            o You no longer need ANSI.SYS to run ANSI of LA - that's right,
  1487.              AoLA has built-in ANSI now.
  1488.            o You no longer have to wait for AoLA to Initialize when it starts
  1489.              up.  That was for Animation anyway, which never really worked.
  1490.              This should also fix compatibility problems with programs like
  1491.              LIST.
  1492.            o The snow during switching screens will NOT dissappear because
  1493.              the alternative is to slow them down by about 100-150%.  But
  1494.              everything else is summerized (No snow during summer...
  1495.              right?)
  1496.            o Block marking should be considerably faster now.
  1497.            o [D]ump file loads and saves are now about 500% faster - rather
  1498.              than saving one byte-at-a-time, all 4000 bytes are now saved
  1499.              at once.
  1500.            o If your clock is set (i.e. date <> '01-01-80'), it will put
  1501.              the current date in the [Alt-I] order form - otherwise it will
  1502.              just put '__-__-__' so the user can put it in themselves.
  1503.            o Screen switching should be about 33% faster now.
  1504.            o No more [Alt-C] - We're going to use that for something else.
  1505.              Did anyone ever use it? - Just use [Alt-F] then [Alt-B].
  1506.            o You can now use Object Library Filenames without a .OBL, if
  1507.              you want.
  1508.  
  1509.  
  1510.  
  1511.    __________________________________________________________________________
  1512.       ANSI of LA   1.05              20                  February 14, 1987  
  1513.  
  1514.  
  1515.  
  1516.  
  1517.  
  1518.  
  1519.            o [F1] is no longer just the Draw Mode toggle - it's the General
  1520.              Toggle key - press F1, then select [B]igLetter (see below),
  1521.              [C]olor mode, or [D]raw mode.
  1522.            o Tired of tediously making nice, big block letters by hand?
  1523.              Well, now it's automatic!  Press [F1], then select
  1524.              [B]igLetters.  Then select the drawing character - If you hit
  1525.              [Enter] it will draw with whatever character you're drawing -
  1526.              i.e. a big "A" made out of A's.  Otherwise you can hit any
  1527.              ASCII code you want.  Try characters 222, 223, 219, and 240 -
  1528.              When in this mode, the cursor keys, backspace, return, etc are
  1529.              all working for these big char sizes.  It's only 10x3
  1530.              "resolution" - but you can squeeze more together if you
  1531.              manually proportional space.  This will only work for
  1532.              characters 1-126.
  1533.            o The biggest thing, maybe it should be first, are the new
  1534.              screen write routines - the snow should be 85-90% gone - the
  1535.              only snow should be while switching screens, etc, and that
  1536.              will be gone too, soon.  And they are so FAST!
  1537.            o [Alt-W]ipe Screen now lets you select the colors to use when
  1538.              wiping out attributes.  And it is SO much faster!
  1539.            o New Help and ASCII table screens.
  1540.            o Old [Ctrl-*] (Save for Undo) is now [Alt-_]
  1541.            o Old [Ctrl-_] (Undo) is now [Alt-=]  (See, now Save for Undo
  1542.              and Undo are right next to each other.  Also you can use
  1543.              [Ctrl-_] which enters an upside-down triangle.)
  1544.            o You can now have a Bright Black, which is really Dark Gray.
  1545.              Don't use this too much, though, because you can't read it on
  1546.              many monitors.  The only time to use it is with a non-black
  1547.              background.
  1548.            o Default for replacing a file when saving is No.  Same with
  1549.              Bright and Blinking Colors.
  1550.            o [BackSpace] will now delete, not just erase, if you are in
  1551.              Insert mode.
  1552.            o At the last minute, added the /A command-line switch to use
  1553.              the ANSI.SYS driver.
  1554.            o At the last minute, modified the code so it will automatically
  1555.              enter the [Alt-L]-Load Screen process if you specify a
  1556.              filename on the command line.
  1557.            o         H A P P Y   V A L E N T I N E ' S   D A Y !
  1558.  
  1559.  
  1560.  
  1561.  
  1562.  
  1563.  
  1564.  
  1565.  
  1566.  
  1567.  
  1568.  
  1569.  
  1570.  
  1571.  
  1572.  
  1573.  
  1574.  
  1575.  
  1576.  
  1577.    __________________________________________________________________________
  1578.       ANSI of LA   1.05              21                  February 14, 1987  
  1579.  
  1580.  
  1581.  
  1582.  
  1583.  
  1584.  
  1585.